<script setup>
  import { useRouter } from 'vue-router';
  import { reactive, onMounted } from 'vue';

  const props = defineProps({});

  const data = reactive({});

  const router = useRouter();

  function onClick() {
    router.push({ name: 'ditu' });
  }

  function onClick_1() {
    router.push({ name: 'ziyuan' });
  }

  function onClick_2() {
    router.push({ name: 'ziyuan' });
  }
</script>

<template>
  <div class="flex-col page">
    <div class="flex-col header">
      <div class="flex-row justify-between items-end self-stretch">
        <div class="section"></div>
        <div class="flex-row">
          <img class="image" src="../../assets/ec0aa6ee63f1692289b8045925cd2d44.png" />
          <img class="image_2 ml-5" src="../../assets/0fd0544e6950c004f8cdf8b05976c365.png" />
          <img class="image_3 ml-5" src="../../assets/669d627582fa4878fea674954a700803.png" />
        </div>
      </div>
      <span class="mt-30 self-center font text">购票</span>
    </div>
    <div class="flex-col flex-1 group">
      <div class="flex-col group_2">
        <div class="flex-col justify-start items-center self-stretch image-wrapper">
          <img class="image_4" src="../../assets/ac2f79a538f1292ad70039ad53e62f01.png" />
        </div>
        <img class="self-center image_5" src="../../assets/8999dd6255d1087b65aa360d07c3df45.png" />
        <div class="flex-row self-stretch group_3">
          <img class="image_6" src="../../assets/da32ea06fedeffc06ad14e0bb977348e.png" />
          <div class="flex-col flex-1 group_1 ml-41">
            <div class="flex-col justify-start items-start self-stretch relative group_4">
              <img class="image_7" src="../../assets/db5195f7183382d45daafaff7861404c.png" />
              <div class="group_5 pos">
                <span class="font">推</span>
                <span class="text_3">｜</span>
                <span class="font text_2">荐</span>
              </div>
            </div>
            <img class="shrink-0 self-start image_8" src="../../assets/fb4161baa56e8f310bc17a92c5451e1f.png" />
          </div>
        </div>
        <img class="self-center image_9" src="../../assets/49318db81563e647bd81fd1b245afe55.png" />
      </div>
      <div class="flex-row equal-division mt-204">
        <div class="flex-col items-center group_6 group_7">
          <img class="image_10" src="../../assets/cee3005790f48cbe95c33fe74985903e.png" @click="onClick" />
          <span class="mt-2 font_2 text_1">地图</span>
        </div>
        <div class="flex-col items-center group_6 group_8">
          <img class="image_10" src="../../assets/3ff6d27938e3db8e1bbc0bc64730de96.png" />
          <span class="mt-2 font_2 text_4">商城</span>
        </div>
        <div class="flex-col items-center group_6 group_9">
          <img class="image_10" src="../../assets/5093e39a27a7557fdbb60799e7a08c72.png" @click="onClick_1" />
          <span class="mt-2 font_2" @click="onClick_2">旅游</span>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="css">
  .ml-5 {
    margin-left: 5px;
  }
  .ml-41 {
    margin-left: 41px;
  }
  .mt-204 {
    margin-top: 204px;
  }
  .page {
    background-color: #fefdf7;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
  }
  .header {
    padding: 7.5px 14.5px 22.5px 21px;
    height: 98px;
  }
  .section {
    background-color: #ffffff;
    width: 54px;
    height: 21px;
  }
  .image {
    width: 17px;
    height: 11px;
  }
  .image_2 {
    width: 15px;
    height: 11px;
  }
  .image_3 {
    width: 24px;
    height: 11.5px;
  }
  .font {
    font-size: 18px;
    font-family: SourceHanSerifCN;
    line-height: 17px;
    font-weight: 600;
    color: #6e3b2e;
  }
  .text {
    color: #6e3a2e;
    line-height: 17px;
  }
  .group {
    overflow-y: auto;
  }
  .group_2 {
    padding: 0 16px;
  }
  .image-wrapper {
    background-image: url('../../assets/342ff5848eae827a4fac39756a507141.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .image_4 {
    width: 91.4667vw;
    height: 42.6667vw;
  }
  .image_5 {
    margin-top: 10px;
    width: 24px;
    height: 3px;
  }
  .group_3 {
    margin-top: 11px;
    padding: 0 1px;
  }
  .image_6 {
    margin-bottom: 2px;
    width: 25px;
    height: 20px;
  }
  .group_1 {
    margin-top: 1.5px;
  }
  .group_4 {
    padding: 2.5px 0 6.5px;
  }
  .image_7 {
    margin-left: 3.5px;
    opacity: 0.56;
    width: 52px;
    height: 8px;
  }
  .group_5 {
    line-height: 17px;
  }
  .pos {
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .text_3 {
    color: #d794581a;
    font-size: 12px;
    font-family: SourceHanSerifCN;
    font-weight: 600;
    line-height: 12px;
  }
  .text_2 {
    line-height: 16.5px;
  }
  .image_8 {
    margin-left: 53.5px;
    margin-top: -4.5px;
    opacity: 0.7;
    width: 51px;
    height: 8px;
  }
  .image_9 {
    margin-top: 25px;
    width: 293px;
    height: 195px;
  }
  .equal-division {
    padding: 3px 7px 3px;
    background-color: #ffffff;
    box-shadow: 0px 0.5px 0px #e6e6e6 inset;
    backdrop-filter: blur(10px);
  }
  .group_6 {
    flex: 1 1 120px;
  }
  .group_7 {
    padding: 5px 0 5px;
  }
  .image_10 {
    width: 24px;
    height: 24px;
  }
  .font_2 {
    font-size: 10px;
    font-family: SourceHanSerifCN;
    line-height: 9px;
    color: #b0b0b2;
  }
  .text_1 {
    line-height: 9px;
  }
  .group_8 {
    padding: 5px 0 5px;
  }
  .text_4 {
    color: #d79458;
    line-height: 9.5px;
  }
  .group_9 {
    padding: 5px 0 5px;
  }
</style>